package com.leihao.product.domian;

public class ProductStats {

    /**
     * 商品属性编号
     */
    private Integer productStatsId;
    /**
     * 属性姓名
     */
    private String name;
    /**
     * 商品类型
     */
    private Integer productAttrId;
    /**
     * 分类筛选样式: 0:普通 1:颜色
     */
    private Integer style;
    /**
     * 能否进行检索 0:不需要检索 1:关键词检索 2:范围检索
     */
    private Integer search;
    /**
     * 商品属性关联 0:是 1:否
     */
    private Integer relevance;
    /**
     * 属性是否可选 0:唯一 1:单选 2:复选
     */
    private Integer check;
    /**
     * 属性值录入方式 0:手工录入 1:从下面列表中选择
     */
    private Integer enter;
    /**
     * 属性值可选值列表
     */
    private String selectable;
    /**
     * 是否支持手动新增 0:是 1:否
     */
    private Integer manualAddition;
    /**
     * 排序
     */
    private Integer isSort;
    /**
     * 逻辑删除 0:正常 1:删除
     */
    private Integer isDelete;
    /**
     * 属性类型 0:属性 1:参数
     */
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public ProductStats(Integer productStatsId, String name, Integer productAttrId, Integer style, Integer search, Integer relevance, Integer check, Integer enter, String selectable, Integer manualAddition, Integer isSort, Integer isDelete, Integer type) {
        this.productStatsId = productStatsId;
        this.name = name;
        this.productAttrId = productAttrId;
        this.style = style;
        this.search = search;
        this.relevance = relevance;
        this.check = check;
        this.enter = enter;
        this.selectable = selectable;
        this.manualAddition = manualAddition;
        this.isSort = isSort;
        this.isDelete = isDelete;
        this.type = type;
    }

    public Integer getProductStatsId() {
        return productStatsId;
    }

    public void setProductStatsId(Integer productStatsId) {
        this.productStatsId = productStatsId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getProductAttrId() {
        return productAttrId;
    }

    public void setProductAttrId(Integer productAttrId) {
        this.productAttrId = productAttrId;
    }

    public Integer getStyle() {
        return style;
    }

    public void setStyle(Integer style) {
        this.style = style;
    }

    public Integer getSearch() {
        return search;
    }

    public void setSearch(Integer search) {
        this.search = search;
    }

    public Integer getRelevance() {
        return relevance;
    }

    public void setRelevance(Integer relevance) {
        this.relevance = relevance;
    }

    public Integer getCheck() {
        return check;
    }

    public void setCheck(Integer check) {
        this.check = check;
    }

    public Integer getEnter() {
        return enter;
    }

    public void setEnter(Integer enter) {
        this.enter = enter;
    }

    public String getSelectable() {
        return selectable;
    }

    public void setSelectable(String selectable) {
        System.out.println("selectable已赋值:"+selectable);
        this.selectable = selectable;
    }

    public Integer getManualAddition() {
        return manualAddition;
    }

    public void setManualAddition(Integer manualAddition) {
        this.manualAddition = manualAddition;
    }

    public Integer getIsSort() {
        return isSort;
    }

    public void setIsSort(Integer isSort) {
        this.isSort = isSort;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public ProductStats() {
    }

    public ProductStats(Integer productStatsId, String name, Integer productAttrId, Integer style, Integer search, Integer relevance, Integer check, Integer enter, String selectable, Integer manualAddition, Integer isSort, Integer isDelete) {
        this.productStatsId = productStatsId;
        this.name = name;
        this.productAttrId = productAttrId;
        this.style = style;
        this.search = search;
        this.relevance = relevance;
        this.check = check;
        this.enter = enter;
        this.selectable = selectable;
        this.manualAddition = manualAddition;
        this.isSort = isSort;
        this.isDelete = isDelete;
    }
}
